package com.bwie.auth.service;

import com.bwie.common.domain.SysUser;
import com.bwie.common.domain.request.LoginReq;
import com.bwie.common.domain.response.JwtRes;

import javax.validation.Valid;

public interface AuthService {
    /**
     * 登录
     * @param loginReq
     * @return
     */
    JwtRes login(@Valid LoginReq loginReq);

    /**
     * 获取登录用户信息
     * @return
     */
    SysUser userInfo();
}
